import { createApp } from 'vue'
import App from './App.vue'
import { extend } from '@tresjs/core'
import { 
  GridHelper, 
  MeshPhysicalMaterial, 
  Line, 
  LineDashedMaterial 
} from 'three'
import { Html } from '@tresjs/cientos' // 确保导入所需组件

// 注册所有需要的组件和材质
extend({ 
  GridHelper, 
  MeshPhysicalMaterial, 
  Line, 
  LineDashedMaterial,
  Html // 注册 Html 组件
})

createApp(App).mount('#app')